understand api call in drf